package com.chixing.day12.day12_Homework;

public class StringPostion {
    public static void main(String[] args) {
        String s = "AkleBiCeilD";
        char[] arr = s.toCharArray();
        int count = 0;
        for (int i = 0; i < arr.length; i++) {
            if (Character.isLowerCase(arr[i])) {
                char temp = arr[i];
                for (int j = i; j > count; j--) {
                    arr[j] = arr[j - 1];
                }
                arr[count] = temp;
                count++;
            }
        }
        System.out.println(arr);
    }
}

